package com.ruoyi.boss.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 时间阈值对象 t_threshold
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TThreshold extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long thresholdId;

    /** 城市 */
    @Excel(name = "城市")
    private Long cityId;

    /** 服务类型 */
    @Excel(name = "服务类型")
    private Long serviceType;

    /** 阈值类型 */
    @Excel(name = "阈值类型")
    private Long thresholdType;

    public void setThresholdId(Long thresholdId) 
    {
        this.thresholdId = thresholdId;
    }

    public Long getThresholdId() 
    {
        return thresholdId;
    }

    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }

    public void setServiceType(Long serviceType) 
    {
        this.serviceType = serviceType;
    }

    public Long getServiceType() 
    {
        return serviceType;
    }

    public void setThresholdType(Long thresholdType) 
    {
        this.thresholdType = thresholdType;
    }

    public Long getThresholdType() 
    {
        return thresholdType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("thresholdId", getThresholdId())
            .append("cityId", getCityId())
            .append("serviceType", getServiceType())
            .append("thresholdType", getThresholdType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
